package com.ruoyi.backend.service;

import com.ruoyi.backend.dto.SatelliteDTO;
import com.ruoyi.backend.pojo.Satellite;
import com.ruoyi.common.core.domain.R;
import io.minio.errors.*;

import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.time.LocalDate;
import java.util.List;

public interface SatelliteService {


    void upload(SatelliteDTO satelliteDTO) throws IOException;

    void update(Satellite satellite);

    List<Satellite> search(String mineId, String productType, String dataSource, String productName, String satelliteType, LocalDate startTime, LocalDate endTime, String productLevel);

    void delete(String id);

    String generateSatelliteId(String mine_id, String product_type, String data_source, String band_situation);

    Object getMeta(String minioObjectName);
}
